<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">

<h:head>
	<link href="css/layout.css" rel="stylesheet" type="text/css" />
</h:head>

<h:body>
	<ui:debug />
	<ui:include src="menu.xhtml" />

	<div id="geral">

		<div id="conteudo-1">
			<img src="imagens/tabletpq.png" />

		</div>
		<div id="conteudo-2-1">
			<h:form id="formPrincipal" prependId="false">
				<p:dataTable var="lista" value="#{disciplinaBean.listas}"
					id="tabelaMaterias"
					style="display:block;overflow-y:none;overflow-x:none;"
					rows="15" paginator="true"
					paginatorPosition="bottom"
					paginatorTemplate="{CurrentPageReport}  {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"
					>
					
					<p:column>
						<h:outputText value="#{lista.nome}" />
					</p:column>
					<p:column width="10" style="max-width:10px;">
						<p:commandLink ajax="false" title="Download" immediate="true">
							<f:param name="nome" value="#{lista.nome}" />
							<p:graphicImage value="/imagens/disk.png" width="30%"/>
							<p:fileDownload value="#{fileDownloadBean.file}" />
						</p:commandLink>
					</p:column>
				</p:dataTable>
			</h:form>
		</div>
	</div>
</h:body>
</html>
















